﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SiteTest.Default" %>

<%@ Register Assembly="SiteTest" Namespace="SiteTest.WebControls" TagPrefix="spd" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <%--<asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="panel" runat="server">
                <ContentTemplate>--%>
                    <fieldset>
                        <legend>Pagination</legend>
                        <spd:GridViewSorted ID="grid" runat="server" Width="100%" EnableViewState="false" AllowSorting="true" OnSorting="grid_Sorting">
                        </spd:GridViewSorted>
                        <div style="margin-left: auto; margin-right: auto; width: 100px">
                            <spd:DataPager ID="pager" runat="server" OnPageNumberChanged="pager_PageNumberChanged" Enabled="true" />
                        </div>
                    </fieldset>
                    <br />
                    <asp:Button ID="btnGenerate" runat="server" Text="Generate 10000 records" OnClick="btnGenerate_Click" />
                <%--</ContentTemplate>
            </asp:UpdatePanel>--%>
        </div>
    </form>
</body>
</html>
